<template>
    <div>
        <img :src="brandList.list_pic_url" width="100%" alt="">
        <p>
            {{brandList.simple_desc}}
        </p>
    </div>
</template>

<script>
import {Brand} from '@/request/home.js'
import { Toast } from 'vant';
export default {
    name: 'Wjm0714Brand',

    data() {
        return {
            id:'',
            brandList:{}
        };
    },

    mounted() {
        
    },

    methods: {
        
    },
    created(){
        // 加载
        Toast.loading({
            message: '加载中...',
            forbidClick: true,
            loadingType: 'spinner',
        });
        this.id = this.$route.query.id;
        Brand(this.id)
        .then(res=>{
            this.brandList = res.data.data.brand;
        })
        .catch(err=>{
            console.log(err);
        })
    }
};
</script>

<style lang="less" scoped>
    p{
        width: 100%;
        font-size: .18rem;
        font-family: 黑体;
        padding: 20px 10px;
        box-sizing: border-box;
        color: #666;
        text-indent: 2em;
        line-height: .30rem;
        background-color: #fff;
    }
</style>